//
// Created by Castle-Moriarty on 2025/11/8.
//

#include <iostream>
using namespace std;

template<typename T>
const T &maximum(const T &a, const T &b);


int main() {
    double a{11.4};
    double b{9.6};
    cout << "Out - &a: " << &a << endl;
    double max1 = maximum(a, b);
    cout << " max1: " << max1 << endl;
    cout << "Out - &a: " << &a << endl;

    return 0;
}

template<typename T>
const T &maximum(const T &a, const T &b) {
    cout << "In - &a : " << &a << endl;
    return (a > b) ? a : b;
}
